package com.ruoyi.school.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 投档线对象 school_tdx
 * 
 * @author zyf
 * @date 2024-09-10
 */
public class SchoolTdx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ExcelIgnore
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    @ExcelProperty(index = 0)
    private Long year;

    /** 生源地 */
    @Excel(name = "生源地")
    @ExcelProperty(index = 1)
    private String province;

    /** 科类 */
    @Excel(name = "科类")
    @ExcelProperty(index = 2)
    private String type;

    /** 批次 */
    @Excel(name = "批次")
    @ExcelProperty(index = 3)
    private String batch;

    /** 院校名称 */
    @Excel(name = "院校名称")
    @ExcelProperty(index = 4)
    private String schoolName;

    /** 专业名称 */
    @Excel(name = "专业名称")
    @ExcelProperty(index = 5)
    private String specialityName;

    /** 专业备注 */
    @Excel(name = "专业备注")
    @ExcelProperty(index = 6)
    private String specialityNotes;

    /** 最低位次 */
    @Excel(name = "最低位次")
    @ExcelProperty(index = 8)
    private Long lowestRank;

    /** 最低分 */
    @Excel(name = "最低分")
    @ExcelProperty(index = 7)
    private Long lowestScore;

    /** 最高分 */
    @Excel(name = "最高分")
    @ExcelProperty(index = 9)
    private Long highestScore;

    /** 平均分 */
    @Excel(name = "平均分")
    @ExcelProperty(index = 10)
    private Long average;

    public SchoolTdx() {
    }

    public SchoolTdx(Long lowestRank, Long lowestScore, Long highestScore, Long average) {
        this.lowestRank = lowestRank;
        this.lowestScore = lowestScore;
        this.highestScore = highestScore;
        this.average = average;
    }

    public SchoolTdx(Long id, Long year, String province, String type, String batch, String schoolName,
                     String specialityName, String specialityNotes, Long lowestRank, Long lowestScore,
                     Long highestScore, Long average) {
        this.id = id;
        this.year = year;
        this.province = province;
        this.type = type;
        this.batch = batch;
        this.schoolName = schoolName;
        this.specialityName = specialityName;
        this.specialityNotes = specialityNotes;
        this.lowestRank = lowestRank;
        this.lowestScore = lowestScore;
        this.highestScore = highestScore;
        this.average = average;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBatch(String batch) 
    {
        this.batch = batch;
    }

    public String getBatch() 
    {
        return batch;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSpecialityName(String specialityName) 
    {
        this.specialityName = specialityName;
    }

    public String getSpecialityName() 
    {
        return specialityName;
    }
    public void setSpecialityNotes(String specialityNotes) 
    {
        this.specialityNotes = specialityNotes;
    }

    public String getSpecialityNotes() 
    {
        return specialityNotes;
    }
    public void setLowestRank(Long lowestRank) 
    {
        this.lowestRank = lowestRank;
    }

    public Long getLowestRank() 
    {
        return lowestRank;
    }
    public void setLowestScore(Long lowestScore) 
    {
        this.lowestScore = lowestScore;
    }

    public Long getLowestScore() 
    {
        return lowestScore;
    }
    public void setHighestScore(Long highestScore) 
    {
        this.highestScore = highestScore;
    }

    public Long getHighestScore() 
    {
        return highestScore;
    }
    public void setAverage(Long average) 
    {
        this.average = average;
    }

    public Long getAverage() 
    {
        return average;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("province", getProvince())
            .append("type", getType())
            .append("batch", getBatch())
            .append("schoolName", getSchoolName())
            .append("specialityName", getSpecialityName())
            .append("specialityNotes", getSpecialityNotes())
            .append("lowestRank", getLowestRank())
            .append("lowestScore", getLowestScore())
            .append("highestScore", getHighestScore())
            .append("average", getAverage())
            .toString();
    }
}
